package com.example.springbootsfzy.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName course_reviews
 */
@Data
public class CourseReviews implements Serializable {
    /**
     * 
     */
    private Integer reviewId;

    /**
     * 
     */
    private String reviewContent;

    /**
     * 
     */
    private Integer starRating;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date reviewTime;

    /**
     * 
     */
    private Integer courseId;

    /**
     * 
     */
    private Integer memberId;

    private String username;

    private static final long serialVersionUID = 1L;
}